// pages/index/comps/iconNav/iconNav.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        isShowData: Object,
        nowDate: String
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        goTeacherIndex: function() {
            wx.navigateTo({
                url: '/pages/teacher/teacherIndex/teacherIndex'
            })
        },
        goVoiceCourse: function() {
            wx.navigateTo({
                url: '/pages/course/voiceCourse/index/index'
            })
        },
        goBeVip: function() {
            wx.navigateTo({
                url: '/pages/beVip/beVip'
            })
        },
        goStar: function(){
            wx.navigateTo({
                url: '/pages/star/starIndex/starIndex'
            })
        },
        goOfflineCourse: function(){
            wx.navigateTo({
                url: '/pages/course/offlineCourse/index/index'
            })
        }
    }
})